package com.ruoyi.project.lely.bean.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import org.hibernate.validator.constraints.Length;

/**
 * 意见问题
 *
 * @author luoyong
 */
@Data
@ApiModel("意见问题 入参DTO")
public class LyIssueDTO {

    @ApiModelProperty("ID")
    private Long id;

    @Length(max = 255, message = "问题标题长度不能超过255位")
    @ApiModelProperty("问题标题")
    private String question;

    @Length(max = 255, message = "问题答案长度不能超过255位")
    @ApiModelProperty("问题答案")
    private String answer;

}
